package com.ubxtech.rocketmq.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Victor.Xiao
 * @since 2023-11-28 19:54
 **/
@Data
@ConfigurationProperties(prefix = RocketMqConfigProperties.PREFIX)
public class RocketMqConfigProperties {
    public static final String PREFIX = "ubxtech.rocketmq";

    /**
     * 环境配置,DEV,TEST,PROD等
     */
    private String environment;
    /**
     * 地区配置,CN,JP,KR等
     */
    private String region;

    /**
     * 是否环境隔离,1:隔离,其它不隔离
     */
    private String envIsolationFlag="1";

    /**
     * 生产者是否环境隔离单独一个开关,1:隔离,其它不隔离
     */
    private String producerIsolationFlag="1";
}
